//
//  QQShareCenter.h
//  Weibbo
//
//  Created by 李 林刚 on 13-8-14.
//  Copyright (c) 2013年 Omnivores. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol QQShareCenterDelegate <NSObject>

@optional
- (void)QQDidLogin;
/**
 * 登录失败后的回调
 * param cancelled 代表用户是否主动退出登录
 */
- (void)QQDidNotLogin:(BOOL)cancelled;

/**
 * 登录时网络有问题的回调
 */
- (void)QQDidNotNetWork;

/**
 *退出登录
 */
-(void)QQDidLogout;

/**
 *是否发布成功
 */
-(void)QQDidShareScucess:(BOOL)isSucess;



@end

@interface QQShareCenter : NSObject

@property (nonatomic, assign)id <QQShareCenterDelegate>  delegate;

-(id)initWithDelegate:(id<QQShareCenterDelegate>)qqdelegate;

- (BOOL)IsQQSessionValid;
- (void)QQStartAuthorize;
- (void)QQLoginOut;
- (void)shareToQZone:(NSArray *)contentArr;
@end
